.class public Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;
.super Lcom/burstly/lib/component/networkcomponent/burstly/html/LoadingAwareWebView;
.source "MraidView.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView$WebClient;
    }
.end annotation


# static fields
.field static final INLINE_PLACEMENT_TYPE:Ljava/lang/String; = "inline"

.field static final INTERSTITIAL_PLACEMENT_TYPE:Ljava/lang/String; = "interstitial"

.field static final LOG:Lcom/burstly/lib/util/LoggerExt; = null

.field static final TAG:Ljava/lang/String; = null

.field public static final VERSION:Ljava/lang/String; = "2.0"


# instance fields
.field private mCloseButtonControl:Lcom/burstly/lib/component/networkcomponent/burstly/html/ICloseControl;

.field private mCloseButtonShowDelay:J

.field private mConfigurationReciever:Landroid/content/BroadcastReceiver;

.field private mContentParent:Landroid/view/ViewGroup;

.field private mContentProvider:Lcom/burstly/lib/component/networkcomponent/burstly/html/IWrappedContentProvider;

.field final mEventBus:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidEventBus;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidEventBus",
            "<",
            "Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;",
            ">;"
        }
    .end annotation
.end field

.field private mEventFactory:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/JavascriptEventFactory;

.field private mLazyShowCustomClose:Z

.field private mOpenedOverlay:Lcom/burstly/lib/component/networkcomponent/burstly/OverlayContainer;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/burstly/lib/component/networkcomponent/burstly/OverlayContainer",
            "<*>;"
        }
    .end annotation
.end field

.field volatile mPageLoaded:Z

.field private mPrevPositionX:I

.field private mPrevPositionY:I

.field volatile mPublishedBridgeLoaded:Z

.field mRichMediaListener:Lcom/burstly/lib/component/networkcomponent/burstly/html/IRichMediaAdListener;

.field private mScreenOrientationMgr:Lcom/burstly/lib/util/ScreenOrientationManager;

.field private mUiHandler:Landroid/os/Handler;

.field final mViewState:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidViewState;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 64
    invoke-static {}, Lcom/burstly/lib/util/LoggerExt;->getInstance()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->LOG:Lcom/burstly/lib/util/LoggerExt;

    .line 69
    const-class v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->TAG:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .locals 4
    .parameter "context"
    .annotation build Landroid/annotation/TargetApi;
        value = 0xb
    .end annotation

    .prologue
    const/4 v3, 0x1

    const/4 v2, 0x0

    .line 220
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/LoadingAwareWebView;-><init>(Landroid/content/Context;)V

    .line 94
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidViewState;

    invoke-direct {v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidViewState;-><init>()V

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mViewState:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidViewState;

    .line 170
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidEventBus;

    invoke-direct {v0, p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidEventBus;-><init>(Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;)V

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mEventBus:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidEventBus;

    .line 222
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0xb

    if-lt v0, v1, :cond_0

    .line 223
    const/4 v0, 0x2

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->setLayerType(ILandroid/graphics/Paint;)V

    .line 224
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v0

    sget-object v1, Landroid/webkit/WebSettings$RenderPriority;->HIGH:Landroid/webkit/WebSettings$RenderPriority;

    invoke-virtual {v0, v1}, Landroid/webkit/WebSettings;->setRenderPriority(Landroid/webkit/WebSettings$RenderPriority;)V

    .line 226
    :cond_0
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/JavascriptEventFactory;

    const-string v1, "mraidview"

    invoke-direct {v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/JavascriptEventFactory;-><init>(Ljava/lang/String;)V

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mEventFactory:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/JavascriptEventFactory;

    .line 227
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V

    .line 228
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/webkit/WebSettings;->setPluginsEnabled(Z)V

    .line 230
    invoke-virtual {p0, v3}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->setFocusableInTouchMode(Z)V

    .line 231
    invoke-virtual {p0, v2}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->setScrollContainer(Z)V

    .line 232
    invoke-virtual {p0, v2}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->setVerticalScrollBarEnabled(Z)V

    .line 233
    invoke-virtual {p0, v2}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->setHorizontalScrollBarEnabled(Z)V

    .line 234
    const-string v0, "burstlyBridge"

    invoke-virtual {p0, p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->addJavascriptInterface(Ljava/lang/Object;Ljava/lang/String;)V

    .line 235
    new-instance v0, Landroid/webkit/WebViewClient;

    invoke-direct {v0}, Landroid/webkit/WebViewClient;-><init>()V

    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->setWebViewClient(Landroid/webkit/WebViewClient;)V

    .line 236
    new-instance v0, Landroid/webkit/WebChromeClient;

    invoke-direct {v0}, Landroid/webkit/WebChromeClient;-><init>()V

    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->setWebChromeClient(Landroid/webkit/WebChromeClient;)V

    move-object v0, p1

    .line 237
    check-cast v0, Landroid/app/Activity;

    const v1, 0x1020002

    invoke-virtual {v0, v1}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentParent:Landroid/view/ViewGroup;

    .line 238
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentParent:Landroid/view/ViewGroup;

    if-nez v0, :cond_1

    .line 239
    check-cast p1, Landroid/app/Activity;

    .end local p1
    invoke-virtual {p1}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentParent:Landroid/view/ViewGroup;

    .line 241
    :cond_1
    return-void
.end method

.method private fireEvent(Ljava/lang/String;)V
    .locals 1
    .parameter "event"

    .prologue
    .line 464
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPageLoaded:Z

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->wasDestroyed()Z

    move-result v0

    if-nez v0, :cond_0

    .line 465
    invoke-virtual {p0, p1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->executeScriptUnSafe(Ljava/lang/String;)V

    .line 467
    :cond_0
    return-void
.end method

.method private startConfigurationListener()V
    .locals 5

    .prologue
    .line 361
    :try_start_0
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mConfigurationReciever:Landroid/content/BroadcastReceiver;

    if-nez v1, :cond_0

    .line 362
    new-instance v1, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/ConfigurationBroadcastReceiver;

    invoke-direct {v1, p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/ConfigurationBroadcastReceiver;-><init>(Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;)V

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mConfigurationReciever:Landroid/content/BroadcastReceiver;

    .line 363
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getContext()Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mConfigurationReciever:Landroid/content/BroadcastReceiver;

    new-instance v3, Landroid/content/IntentFilter;

    const-string v4, "android.intent.action.CONFIGURATION_CHANGED"

    invoke-direct {v3, v4}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v2, v3}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 370
    :cond_0
    :goto_0
    return-void

    .line 367
    :catch_0
    move-exception v0

    .line 368
    .local v0, e:Ljava/lang/Exception;
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->TAG:Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Lcom/burstly/lib/util/LoggerExt;->logThrowable(Ljava/lang/String;Ljava/lang/Throwable;)V

    goto :goto_0
.end method

.method private stopConfigurationListener()V
    .locals 3

    .prologue
    .line 376
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mConfigurationReciever:Landroid/content/BroadcastReceiver;

    if-eqz v1, :cond_0

    .line 378
    :try_start_0
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getContext()Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mConfigurationReciever:Landroid/content/BroadcastReceiver;

    invoke-virtual {v1, v2}, Landroid/content/Context;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V

    .line 379
    const/4 v1, 0x0

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mConfigurationReciever:Landroid/content/BroadcastReceiver;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 385
    :cond_0
    :goto_0
    return-void

    .line 381
    :catch_0
    move-exception v0

    .line 382
    .local v0, e:Ljava/lang/Exception;
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->TAG:Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Lcom/burstly/lib/util/LoggerExt;->logThrowable(Ljava/lang/String;Ljava/lang/Throwable;)V

    goto :goto_0
.end method


# virtual methods
.method addCurrentPositionValue(Ljava/util/Map;)V
    .locals 6
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .prologue
    .local p1, mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const/4 v5, 0x2

    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 697
    new-array v0, v5, [I

    .line 698
    .local v0, contentParentLocation:[I
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentParent:Landroid/view/ViewGroup;

    invoke-virtual {v2, v0}, Landroid/view/ViewGroup;->getLocationInWindow([I)V

    .line 699
    new-array v1, v5, [I

    .line 700
    .local v1, viewLocation:[I
    invoke-virtual {p0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getLocationInWindow([I)V

    .line 701
    aget v2, v1, v3

    aget v3, v0, v3

    sub-int/2addr v2, v3

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-static {v2}, Lcom/burstly/lib/util/Utils;->scaleToDip(Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    iput v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPrevPositionX:I

    .line 702
    aget v2, v1, v4

    aget v3, v0, v4

    sub-int/2addr v2, v3

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-static {v2}, Lcom/burstly/lib/util/Utils;->scaleToDip(Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    iput v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPrevPositionY:I

    .line 703
    const-string v2, "currentPosition"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "{x: "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget v4, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPrevPositionX:I

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ", y:"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget v4, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPrevPositionY:I

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ", width:"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getMeasuredWidth()I

    move-result v4

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-static {v4}, Lcom/burstly/lib/util/Utils;->scaleToDip(Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ", height: "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getMeasuredHeight()I

    move-result v4

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-static {v4}, Lcom/burstly/lib/util/Utils;->scaleToDip(Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "}"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-interface {p1, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 707
    return-void
.end method

.method addMaxSizeValue(Ljava/util/Map;)V
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 676
    .local p1, mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getMaxSize()Ljava/lang/String;

    move-result-object v0

    .line 677
    .local v0, maxSize:Ljava/lang/String;
    if-eqz v0, :cond_0

    .line 678
    const-string v1, "maxSize"

    invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 680
    :cond_0
    return-void
.end method

.method addOrientationValue(Ljava/util/Map;)V
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 618
    .local p1, mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v0, "orientation"

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/burstly/lib/util/Utils;->getOrientation(Landroid/content/Context;)I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 619
    return-void
.end method

.method addPlacementTypeValue(Ljava/util/Map;)V
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 648
    .local p1, mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->isInterstitial()Z

    move-result v1

    if-eqz v1, :cond_0

    const-string v0, "interstitial"

    .line 649
    .local v0, placementType:Ljava/lang/String;
    :goto_0
    const-string v1, "placementType"

    invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 650
    return-void

    .line 648
    .end local v0           #placementType:Ljava/lang/String;
    :cond_0
    const-string v0, "inline"

    goto :goto_0
.end method

.method addScreenSizeValue(Ljava/util/Map;)V
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 688
    .local p1, mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v0, "screenSize"

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getScreenSize()Ljava/lang/String;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 689
    return-void
.end method

.method addStateValue(Ljava/util/Map;)V
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 609
    .local p1, mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v0, "state"

    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mViewState:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidViewState;

    invoke-virtual {v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidViewState;->getState()Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidBridgeState;

    move-result-object v1

    invoke-virtual {v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidBridgeState;->name()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 610
    return-void
.end method

.method addSupportedFeatures(Ljava/util/Map;)V
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 583
    .local p1, mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v0, "supports"

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/DevaceCapabilitiesManager;->getCapabilities(Landroid/content/Context;)Ljava/util/Map;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 584
    return-void
.end method

.method addViewableValue(Ljava/util/Map;)V
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 627
    .local p1, mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v0, "viewable"

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->isShown()Z

    move-result v1

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 628
    return-void
.end method

.method public changeOrientationProperiesInLive(Ljava/lang/String;)V
    .locals 3
    .parameter "properties"
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .prologue
    .line 637
    const/16 v0, 0xc

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    aput-object p1, v1, v2

    invoke-virtual {p0, v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->sendEvent(I[Ljava/lang/Object;)V

    .line 640
    return-void
.end method

.method public close()V
    .locals 2
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .prologue
    .line 297
    const/4 v0, 0x2

    const/4 v1, 0x0

    new-array v1, v1, [Ljava/lang/Object;

    invoke-virtual {p0, v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->sendEvent(I[Ljava/lang/Object;)V

    .line 298
    return-void
.end method

.method public closeExternally()V
    .locals 2
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .prologue
    .line 475
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mViewState:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidViewState;

    invoke-virtual {v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidViewState;->getState()Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidBridgeState;

    move-result-object v0

    sget-object v1, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidBridgeState;->LOADING:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidBridgeState;

    if-ne v0, v1, :cond_0

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->isInterstitial()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 476
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    .line 480
    :goto_0
    return-void

    .line 478
    :cond_0
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->close()V

    goto :goto_0
.end method

.method public createCalendarEvent(Ljava/lang/String;)V
    .locals 3
    .parameter "params"
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .prologue
    .line 315
    const/16 v0, 0x8

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    aput-object p1, v1, v2

    invoke-virtual {p0, v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->sendEvent(I[Ljava/lang/Object;)V

    .line 318
    return-void
.end method

.method executeScriptUnSafe(Ljava/lang/String;)V
    .locals 2
    .parameter "script"

    .prologue
    .line 426
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "javascript:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->loadUrl(Ljava/lang/String;)V

    .line 427
    return-void
.end method

.method public expand(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3
    .parameter "url"
    .parameter "properties"
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .prologue
    .line 271
    const/4 v0, 0x3

    const/4 v1, 0x2

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    aput-object p2, v1, v2

    const/4 v2, 0x1

    aput-object p1, v1, v2

    invoke-virtual {p0, v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->sendEvent(I[Ljava/lang/Object;)V

    .line 274
    return-void
.end method

.method fireComplexChangeEvent(Ljava/util/Map;)V
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 455
    .local p1, params:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mEventFactory:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/JavascriptEventFactory;

    invoke-virtual {v0, p1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/JavascriptEventFactory;->createChangeEvent(Ljava/util/Map;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->fireEvent(Ljava/lang/String;)V

    .line 456
    return-void
.end method

.method fireErrorEvent(Ljava/lang/String;Ljava/lang/String;)V
    .locals 1
    .parameter "action"
    .parameter "message"

    .prologue
    .line 446
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mEventFactory:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/JavascriptEventFactory;

    invoke-virtual {v0, p1, p2}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/JavascriptEventFactory;->createErrorEvent(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->fireEvent(Ljava/lang/String;)V

    .line 447
    return-void
.end method

.method fireSimpleChangeEvent(Ljava/lang/String;Ljava/lang/Object;)V
    .locals 1
    .parameter "key"
    .parameter "value"

    .prologue
    .line 436
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mEventFactory:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/JavascriptEventFactory;

    invoke-virtual {v0, p1, p2}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/JavascriptEventFactory;->createSimpleChangeEvent(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->fireEvent(Ljava/lang/String;)V

    .line 437
    return-void
.end method

.method fireVisibilityRelatedComplexEvent(Z)V
    .locals 2
    .parameter "stateChanged"

    .prologue
    .line 592
    iget-boolean v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPageLoaded:Z

    if-eqz v1, :cond_1

    .line 593
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    .line 594
    .local v0, mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    if-eqz p1, :cond_0

    .line 595
    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->addStateValue(Ljava/util/Map;)V

    .line 597
    :cond_0
    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->addViewableValue(Ljava/util/Map;)V

    .line 598
    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->addCurrentPositionValue(Ljava/util/Map;)V

    .line 599
    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->fireComplexChangeEvent(Ljava/util/Map;)V

    .line 601
    .end local v0           #mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_1
    return-void
.end method

.method public getCloseButtonControl()Lcom/burstly/lib/component/networkcomponent/burstly/html/ICloseControl;
    .locals 1

    .prologue
    .line 854
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mCloseButtonControl:Lcom/burstly/lib/component/networkcomponent/burstly/html/ICloseControl;

    return-object v0
.end method

.method public getCloseButtonShowDelay()J
    .locals 2

    .prologue
    .line 836
    iget-wide v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mCloseButtonShowDelay:J

    return-wide v0
.end method

.method public getContentParent()Landroid/view/ViewGroup;
    .locals 1

    .prologue
    .line 658
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentParent:Landroid/view/ViewGroup;

    return-object v0
.end method

.method getMaxSize()Ljava/lang/String;
    .locals 4

    .prologue
    .line 777
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentParent:Landroid/view/ViewGroup;

    invoke-virtual {v2}, Landroid/view/ViewGroup;->getWidth()I

    move-result v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-static {v2}, Lcom/burstly/lib/util/Utils;->scaleToDip(Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v1

    .line 778
    .local v1, width:I
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentParent:Landroid/view/ViewGroup;

    invoke-virtual {v2}, Landroid/view/ViewGroup;->getHeight()I

    move-result v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-static {v2}, Lcom/burstly/lib/util/Utils;->scaleToDip(Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v0

    .line 779
    .local v0, height:I
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "{width: "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ", height: "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "}"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    return-object v2
.end method

.method public getOpenedOverlay()Lcom/burstly/lib/component/networkcomponent/burstly/OverlayContainer;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/burstly/lib/component/networkcomponent/burstly/OverlayContainer",
            "<*>;"
        }
    .end annotation

    .prologue
    .line 759
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mOpenedOverlay:Lcom/burstly/lib/component/networkcomponent/burstly/OverlayContainer;

    return-object v0
.end method

.method public getRichMediaListener()Lcom/burstly/lib/component/networkcomponent/burstly/html/IRichMediaAdListener;
    .locals 1

    .prologue
    .line 818
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mRichMediaListener:Lcom/burstly/lib/component/networkcomponent/burstly/html/IRichMediaAdListener;

    return-object v0
.end method

.method getScreenOrientationMgr()Lcom/burstly/lib/util/ScreenOrientationManager;
    .locals 1

    .prologue
    .line 876
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mScreenOrientationMgr:Lcom/burstly/lib/util/ScreenOrientationManager;

    return-object v0
.end method

.method getScreenSize()Ljava/lang/String;
    .locals 5

    .prologue
    .line 738
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getContext()Landroid/content/Context;

    move-result-object v0

    .line 739
    .local v0, context:Landroid/content/Context;
    invoke-static {v0}, Lcom/burstly/lib/util/Utils;->getScreenWidth(Landroid/content/Context;)I

    move-result v2

    .line 740
    .local v2, width:I
    invoke-static {v0}, Lcom/burstly/lib/util/Utils;->getScreenHeight(Landroid/content/Context;)I

    move-result v1

    .line 741
    .local v1, height:I
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "{width:"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-static {v4}, Lcom/burstly/lib/util/Utils;->scaleToDip(Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ", height:"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-static {v4}, Lcom/burstly/lib/util/Utils;->scaleToDip(Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "}"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    return-object v3
.end method

.method getViewSize()Ljava/lang/String;
    .locals 2

    .prologue
    .line 768
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "{width: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getMeasuredWidth()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", height: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getMeasuredHeight()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "}"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public loadDataWithBaseURL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 6
    .parameter "baseUrl"
    .parameter "data"
    .parameter "mimeType"
    .parameter "encoding"
    .parameter "historyUrl"

    .prologue
    .line 485
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentProvider:Lcom/burstly/lib/component/networkcomponent/burstly/html/IWrappedContentProvider;

    if-nez v0, :cond_0

    .line 486
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidWrappedContentProvider;

    invoke-direct {v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidWrappedContentProvider;-><init>()V

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentProvider:Lcom/burstly/lib/component/networkcomponent/burstly/html/IWrappedContentProvider;

    .line 488
    :cond_0
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentProvider:Lcom/burstly/lib/component/networkcomponent/burstly/html/IWrappedContentProvider;

    invoke-interface {v0, p2}, Lcom/burstly/lib/component/networkcomponent/burstly/html/IWrappedContentProvider;->prepareWrappedContent(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .local v2, content:Ljava/lang/String;
    move-object v0, p0

    move-object v1, p1

    move-object v3, p3

    move-object v4, p4

    move-object v5, p5

    .line 489
    invoke-super/range {v0 .. v5}, Lcom/burstly/lib/component/networkcomponent/burstly/html/LoadingAwareWebView;->loadDataWithBaseURL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 490
    return-void
.end method

.method protected onAttachedToWindow()V
    .locals 4

    .prologue
    const/4 v3, 0x1

    .line 389
    invoke-super {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/LoadingAwareWebView;->onAttachedToWindow()V

    .line 390
    const/4 v0, 0x5

    new-array v1, v3, [Ljava/lang/Object;

    const/4 v2, 0x0

    invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    aput-object v3, v1, v2

    invoke-virtual {p0, v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->sendEvent(I[Ljava/lang/Object;)V

    .line 393
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->startConfigurationListener()V

    .line 394
    return-void
.end method

.method public onDestroy(Landroid/app/Activity;)V
    .locals 3
    .parameter "curerntActivity"

    .prologue
    .line 494
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->wasDestroyed()Z

    move-result v1

    if-nez v1, :cond_1

    .line 496
    :try_start_0
    invoke-super {p0, p1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/LoadingAwareWebView;->onDestroy(Landroid/app/Activity;)V

    .line 497
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mViewState:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidViewState;

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidBridgeState;->HIDDEN:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidBridgeState;

    invoke-virtual {v1, v2}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidViewState;->setState(Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidBridgeState;)V

    .line 498
    const/4 v1, 0x1

    invoke-virtual {p0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->fireVisibilityRelatedComplexEvent(Z)V

    .line 499
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->stopConfigurationListener()V

    .line 501
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentProvider:Lcom/burstly/lib/component/networkcomponent/burstly/html/IWrappedContentProvider;

    if-eqz v1, :cond_0

    .line 502
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentProvider:Lcom/burstly/lib/component/networkcomponent/burstly/html/IWrappedContentProvider;

    invoke-interface {v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/IWrappedContentProvider;->destroy()V

    .line 504
    :cond_0
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mEventBus:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidEventBus;

    invoke-virtual {v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidEventBus;->destroy()V

    .line 505
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->destroy()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 511
    :cond_1
    :goto_0
    return-void

    .line 507
    :catch_0
    move-exception v0

    .line 508
    .local v0, exception:Ljava/lang/Exception;
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->TAG:Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Lcom/burstly/lib/util/LoggerExt;->logThrowable(Ljava/lang/String;Ljava/lang/Throwable;)V

    goto :goto_0
.end method

.method protected onDetachedFromWindow()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 398
    invoke-super {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/LoadingAwareWebView;->onDetachedFromWindow()V

    .line 399
    const/4 v0, 0x5

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    aput-object v2, v1, v3

    invoke-virtual {p0, v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->sendEvent(I[Ljava/lang/Object;)V

    .line 402
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->stopConfigurationListener()V

    .line 403
    return-void
.end method

.method protected onLayout(ZIIII)V
    .locals 2
    .parameter "changed"
    .parameter "l"
    .parameter "t"
    .parameter "r"
    .parameter "b"

    .prologue
    .line 798
    invoke-super/range {p0 .. p5}, Lcom/burstly/lib/component/networkcomponent/burstly/html/LoadingAwareWebView;->onLayout(ZIIII)V

    .line 799
    if-eqz p1, :cond_0

    .line 800
    const/4 v0, 0x7

    const/4 v1, 0x0

    new-array v1, v1, [Ljava/lang/Object;

    invoke-virtual {p0, v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->sendEvent(I[Ljava/lang/Object;)V

    .line 802
    :cond_0
    return-void
.end method

.method protected onVisibilityChanged(Landroid/view/View;I)V
    .locals 4
    .parameter "changedView"
    .parameter "visibility"

    .prologue
    .line 806
    invoke-super {p0, p1, p2}, Lcom/burstly/lib/component/networkcomponent/burstly/html/LoadingAwareWebView;->onVisibilityChanged(Landroid/view/View;I)V

    .line 807
    const/4 v0, 0x4

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

    invoke-virtual {p0, v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->sendEvent(I[Ljava/lang/Object;)V

    .line 810
    return-void
.end method

.method public open(Ljava/lang/String;)V
    .locals 3
    .parameter "url"
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .prologue
    const/4 v2, 0x1

    .line 284
    new-array v0, v2, [Ljava/lang/Object;

    const/4 v1, 0x0

    aput-object p1, v0, v1

    invoke-virtual {p0, v2, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->sendEvent(I[Ljava/lang/Object;)V

    .line 287
    return-void
.end method

.method public playVideo(Ljava/lang/String;)V
    .locals 3
    .parameter "videoUrl"
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .prologue
    .line 350
    const/16 v0, 0xb

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    aput-object p1, v1, v2

    invoke-virtual {p0, v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->sendEvent(I[Ljava/lang/Object;)V

    .line 353
    return-void
.end method

.method publishBridgeLoaded()V
    .locals 2

    .prologue
    .line 542
    iget-boolean v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPageLoaded:Z

    if-eqz v1, :cond_0

    iget-boolean v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPublishedBridgeLoaded:Z

    if-nez v1, :cond_0

    .line 543
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    .line 544
    .local v0, mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->addStateValue(Ljava/util/Map;)V

    .line 545
    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->addPlacementTypeValue(Ljava/util/Map;)V

    .line 546
    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->addCurrentPositionValue(Ljava/util/Map;)V

    .line 547
    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->addViewableValue(Ljava/util/Map;)V

    .line 548
    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->addMaxSizeValue(Ljava/util/Map;)V

    .line 549
    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->addScreenSizeValue(Ljava/util/Map;)V

    .line 550
    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->addSupportedFeatures(Ljava/util/Map;)V

    .line 551
    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->addOrientationValue(Ljava/util/Map;)V

    .line 552
    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->fireComplexChangeEvent(Ljava/util/Map;)V

    .line 553
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mEventFactory:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/JavascriptEventFactory;

    invoke-virtual {v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/JavascriptEventFactory;->createReadyEvent()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->executeScriptUnSafe(Ljava/lang/String;)V

    .line 554
    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPublishedBridgeLoaded:Z

    .line 556
    .end local v0           #mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_0
    return-void
.end method

.method public resize(Ljava/lang/String;)V
    .locals 3
    .parameter "properties"
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .prologue
    .line 790
    const/16 v0, 0xa

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    aput-object p1, v1, v2

    invoke-virtual {p0, v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->sendEvent(I[Ljava/lang/Object;)V

    .line 793
    return-void
.end method

.method public run()V
    .locals 11

    .prologue
    const/4 v10, 0x2

    const/4 v9, 0x1

    const/4 v8, 0x0

    .line 711
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->wasDestroyed()Z

    move-result v5

    if-nez v5, :cond_1

    .line 712
    iget-object v5, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mUiHandler:Landroid/os/Handler;

    const-wide/16 v6, 0x3e8

    invoke-virtual {v5, p0, v6, v7}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 713
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->isShown()Z

    move-result v5

    if-eqz v5, :cond_1

    .line 714
    new-array v0, v10, [I

    .line 715
    .local v0, contentParentLocation:[I
    iget-object v5, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentParent:Landroid/view/ViewGroup;

    invoke-virtual {v5, v0}, Landroid/view/ViewGroup;->getLocationInWindow([I)V

    .line 716
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    .line 717
    .local v1, mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    new-array v4, v10, [I

    .line 718
    .local v4, viewLocation:[I
    invoke-virtual {p0, v4}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->getLocationInWindow([I)V

    .line 719
    aget v5, v4, v8

    aget v6, v0, v8

    sub-int/2addr v5, v6

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    invoke-static {v5}, Lcom/burstly/lib/util/Utils;->scaleToDip(Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/Integer;->intValue()I

    move-result v2

    .line 720
    .local v2, positionX:I
    aget v5, v4, v9

    aget v6, v0, v9

    sub-int/2addr v5, v6

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    invoke-static {v5}, Lcom/burstly/lib/util/Utils;->scaleToDip(Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/Integer;->intValue()I

    move-result v3

    .line 721
    .local v3, positionY:I
    iget v5, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPrevPositionX:I

    if-ne v5, v2, :cond_0

    iget v5, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPrevPositionY:I

    if-eq v5, v3, :cond_1

    .line 722
    :cond_0
    iput v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPrevPositionY:I

    .line 723
    iput v3, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPrevPositionY:I

    .line 724
    const-string v5, "currentPosition"

    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    const-string v7, "{x: "

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, ", y:"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "}"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-interface {v1, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 725
    invoke-virtual {p0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->fireComplexChangeEvent(Ljava/util/Map;)V

    .line 726
    iput v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mPrevPositionX:I

    .line 730
    .end local v0           #contentParentLocation:[I
    .end local v1           #mapOfParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    .end local v2           #positionX:I
    .end local v3           #positionY:I
    .end local v4           #viewLocation:[I
    :cond_1
    return-void
.end method

.method varargs sendEvent(I[Ljava/lang/Object;)V
    .locals 1
    .parameter "eventId"
    .parameter "args"

    .prologue
    .line 412
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mEventBus:Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidEventBus;

    invoke-virtual {v0, p1, p2}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidEventBus;->sendEvent(I[Ljava/lang/Object;)V

    .line 413
    return-void
.end method

.method public setCloseButtonControl(Lcom/burstly/lib/component/networkcomponent/burstly/html/ICloseControl;)V
    .locals 1
    .parameter "closeButtonControl"

    .prologue
    .line 863
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mCloseButtonControl:Lcom/burstly/lib/component/networkcomponent/burstly/html/ICloseControl;

    .line 864
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mLazyShowCustomClose:Z

    if-eqz v0, :cond_0

    .line 865
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mLazyShowCustomClose:Z

    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->useCustomClose(Z)V

    .line 866
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mLazyShowCustomClose:Z

    .line 868
    :cond_0
    return-void
.end method

.method public setCloseButtonShowDelay(J)V
    .locals 0
    .parameter "closeButtonShowDelay"

    .prologue
    .line 845
    iput-wide p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mCloseButtonShowDelay:J

    .line 846
    return-void
.end method

.method public setContentParent(Landroid/view/ViewGroup;)V
    .locals 0
    .parameter "contentParent"

    .prologue
    .line 667
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mContentParent:Landroid/view/ViewGroup;

    .line 668
    return-void
.end method

.method public setOpenedOverlay(Lcom/burstly/lib/component/networkcomponent/burstly/OverlayContainer;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/burstly/lib/component/networkcomponent/burstly/OverlayContainer",
            "<*>;)V"
        }
    .end annotation

    .prologue
    .line 750
    .local p1, overlay:Lcom/burstly/lib/component/networkcomponent/burstly/OverlayContainer;,"Lcom/burstly/lib/component/networkcomponent/burstly/OverlayContainer<*>;"
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mOpenedOverlay:Lcom/burstly/lib/component/networkcomponent/burstly/OverlayContainer;

    .line 751
    return-void
.end method

.method public setRichMediaListener(Lcom/burstly/lib/component/networkcomponent/burstly/html/IRichMediaAdListener;)V
    .locals 0
    .parameter "richMediaListener"

    .prologue
    .line 827
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mRichMediaListener:Lcom/burstly/lib/component/networkcomponent/burstly/html/IRichMediaAdListener;

    .line 828
    return-void
.end method

.method setScreenOrientationMgr(Lcom/burstly/lib/util/ScreenOrientationManager;)V
    .locals 0
    .parameter "screenOrientationMgr"

    .prologue
    .line 885
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mScreenOrientationMgr:Lcom/burstly/lib/util/ScreenOrientationManager;

    .line 886
    return-void
.end method

.method public setWebViewClient(Landroid/webkit/WebViewClient;)V
    .locals 1
    .parameter "client"

    .prologue
    .line 417
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView$WebClient;

    invoke-direct {v0, p0, p1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView$WebClient;-><init>(Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;Landroid/webkit/WebViewClient;)V

    invoke-super {p0, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/LoadingAwareWebView;->setWebViewClient(Landroid/webkit/WebViewClient;)V

    .line 418
    return-void
.end method

.method startPositionNotification()V
    .locals 3

    .prologue
    .line 562
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mUiHandler:Landroid/os/Handler;

    if-nez v0, :cond_0

    .line 563
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mUiHandler:Landroid/os/Handler;

    .line 565
    :cond_0
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mUiHandler:Landroid/os/Handler;

    const-wide/16 v1, 0x3e8

    invoke-virtual {v0, p0, v1, v2}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 566
    return-void
.end method

.method stopPositionNotification()V
    .locals 1

    .prologue
    .line 572
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mUiHandler:Landroid/os/Handler;

    if-eqz v0, :cond_0

    .line 573
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mUiHandler:Landroid/os/Handler;

    invoke-virtual {v0, p0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 575
    :cond_0
    return-void
.end method

.method public storePicture(Ljava/lang/String;)V
    .locals 3
    .parameter "url"
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .prologue
    .line 333
    const/16 v0, 0x9

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    aput-object p1, v1, v2

    invoke-virtual {p0, v0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->sendEvent(I[Ljava/lang/Object;)V

    .line 336
    return-void
.end method

.method public useCustomClose(Z)V
    .locals 2
    .parameter "showCustomClose"
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .prologue
    .line 524
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mCloseButtonControl:Lcom/burstly/lib/component/networkcomponent/burstly/html/ICloseControl;

    .line 525
    .local v0, closeButtonControl:Lcom/burstly/lib/component/networkcomponent/burstly/html/ICloseControl;
    if-eqz v0, :cond_0

    .line 526
    new-instance v1, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView$1;

    invoke-direct {v1, p0, v0, p1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView$1;-><init>(Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;Lcom/burstly/lib/component/networkcomponent/burstly/html/ICloseControl;Z)V

    invoke-virtual {p0, v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->post(Ljava/lang/Runnable;)Z

    .line 536
    :goto_0
    return-void

    .line 534
    :cond_0
    iput-boolean p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/mraid/MraidView;->mLazyShowCustomClose:Z

    goto :goto_0
.end method
